package com.qf.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.03.10
 * @since 1.0
 */
@Controller
public class TestController {

    @RequestMapping("/index")
    public String index(Model model){
        model.addAttribute("name","王耀文");
        model.addAttribute("desc","社交牛牛症");

        return "index";
    }
}
